package com.service.impl;

import java.util.List;

import com.dao.CommentDao;
import com.dao.impl.CommentDaoImpl;
import com.entity.Comment;
import com.exception.DaoException;
import com.service.CommentService;

public class CommentServiceImpl implements CommentService {

	
	private CommentDao commentDao = new CommentDaoImpl();
	
	@Override
	public List<Comment> selectCommentByNid(Integer nid) throws DaoException {
		return commentDao.selectCommentByNid(nid);
	}

}
